﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zzj.Viewmodel;

namespace Zzj.ViewModel
{
    public class IndexViewModel : BaseViewModel
    {
        public int _index = 0;
        public String _selectedProduct = "";

        public ObservableCollection<String> _carNoArray01 = new ObservableCollection<String>();
        public ObservableCollection<String> _carNoArray02 = new ObservableCollection<String>();
        public ObservableCollection<String> _waiPiWeighArray = new ObservableCollection<String>();
        public ObservableCollection<String> _waiMaoWeighArray = new ObservableCollection<String>();
        public ObservableCollection<String> _fhNumberArray = new ObservableCollection<String>();
        public ObservableCollection<String> _waiNetWeighArray = new ObservableCollection<String>();

        public int index
        {
            get { return _index; }
            set
            {
                _index = value;
                RaisePropertyChanged("index");
            }
        }

        public String selectedProduct
        {
            get { return _selectedProduct; }
            set
            {
                _selectedProduct = value;
                RaisePropertyChanged("selectedProduct");
            }
        }

        public ObservableCollection<String> carNoArray01
        {
            get { return _carNoArray01; }
            set
            {
                _carNoArray01 = value;
                RaisePropertyChanged("carNoArray01");
            }
        }

        public ObservableCollection<String> carNoArray02
        {
            get { return _carNoArray02; }
            set
            {
                _carNoArray02 = value;
                RaisePropertyChanged("carNoArray02");
            }
        }

        public ObservableCollection<String> waiPiWeighArray
        {
            get { return _waiPiWeighArray; }
            set
            {
                _waiPiWeighArray = value;
                RaisePropertyChanged("waiPiWeighArray");
            }
        }

        public ObservableCollection<String> waiMaoWeighArray
        {
            get { return _waiMaoWeighArray; }
            set
            {
                _waiMaoWeighArray = value;
                RaisePropertyChanged("waiMaoWeighArray");
            }
        }

        public ObservableCollection<String> waiNetWeighArray
        {
            get { return _waiNetWeighArray; }
            set
            {
                _waiNetWeighArray = value;
                RaisePropertyChanged("waiNetWeighArray");
            }
        }

        public ObservableCollection<String> fhNumberArray
        {
            get { return _fhNumberArray; }
            set
            {
                _fhNumberArray = value;
                RaisePropertyChanged("fhNumberArray");
            }
        }
    }
}